\doxysection{stm32h7xx\+\_\+hal\+\_\+flash\+\_\+ex.\+h}
\hypertarget{stm32h7xx__hal__flash__ex_8h_source}{}\label{stm32h7xx__hal__flash__ex_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Drivers/STM32H7xx\_HAL\_Driver/Inc/stm32h7xx\_hal\_flash\_ex.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Drivers/STM32H7xx\_HAL\_Driver/Inc/stm32h7xx\_hal\_flash\_ex.h}}
\mbox{\hyperlink{stm32h7xx__hal__flash__ex_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \textcolor{comment}{/*\ Define\ to\ prevent\ recursive\ inclusion\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#ifndef\ STM32H7xx\_HAL\_FLASH\_EX\_H}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ STM32H7xx\_HAL\_FLASH\_EX\_H}}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00023\ \ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{comment}{/*\ Includes\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{stm32h7xx__hal__def_8h}{stm32h7xx\_hal\_def.h}}"{}}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{comment}{/*\ Exported\ types\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00045\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00046\ \{}
\DoxyCodeLine{00047\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def_a5d08471046a663db76d2252848a7d66c}{TypeErase}};\ \ \ }
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def_a9590db921fb8d36daf38e097f68fc14f}{Banks}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def_a13bac8f9a1ba504a265b44345ecf4d2b}{Sector}};\ \ \ \ \ \ }
\DoxyCodeLine{00055\ }
\DoxyCodeLine{00056\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def_aec98fec1676cd618e3743158c855a76a}{NbSectors}};\ \ \ }
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def_a3a2a0c2c4ed573bb84c768c6dbb92cc9}{VoltageRange}};}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \}\ \mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def}{FLASH\_EraseInitTypeDef}};}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00068\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00069\ \{}
\DoxyCodeLine{00070\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a46bffc2a63ea02e15b9187856535d890}{OptionType}};\ \ \ \ \ }
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a2607ba046f7a3af46e7209b8f1e9e20d}{WRPState}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00076\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_aa3db423f4b3038a56b67ca2d48af79ff}{WRPSector}};\ \ \ \ \ \ }
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a1f613ba2b87cf9caa84dc1d493e96dae}{RDPLevel}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a51a6af507ed8f57590f19b6ba6c9c33d}{BORLevel}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a71770e44263750ea731fee8c2d74b307}{USERType}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_aeee4c65d539a25d8bfc7f83c7dc29012}{USERConfig}};\ \ \ \ \ }
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a5fdf437b5f79d79945f5c0777f76d0eb}{Banks}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00094\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a33a5b63814d8c38e158776c0c9c09a53}{PCROPConfig}};\ \ \ \ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_ad0597d5c1d37131b02b2b4abecb14b2d}{PCROPStartAddr}};\ }
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00101\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_ad38368cf5344d6071cc1b6211289f274}{PCROPEndAddr}};\ \ \ }
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00104\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_abdae88484117aeab84dfef0b37dc92df}{BootConfig}};\ \ \ \ \ }
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00107\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a02ba9f1219abea2a6be8522095dc7f09}{BootAddr0}};\ \ \ \ \ \ }
\DoxyCodeLine{00109\ }
\DoxyCodeLine{00110\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a2efa2648f7de9fbc82392ff117c390cf}{BootAddr1}};\ \ \ \ \ \ }
\DoxyCodeLine{00112\ \textcolor{preprocessor}{\#if\ defined(DUAL\_CORE)}}
\DoxyCodeLine{00113\ \ \ uint32\_t\ CM4BootConfig;\ \ }
\DoxyCodeLine{00116\ }
\DoxyCodeLine{00117\ \ \ uint32\_t\ CM4BootAddr0;\ \ \ }
\DoxyCodeLine{00119\ }
\DoxyCodeLine{00120\ \ \ uint32\_t\ CM4BootAddr1;\ \ \ }
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*DUAL\_CORE*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00124\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a415be39a396d41f4c8f2ebbb78a5779c}{SecureAreaConfig}};\ \ \ \ }
\DoxyCodeLine{00127\ }
\DoxyCodeLine{00128\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_a655813b01114752ce1dda79eb0b57561}{SecureAreaStartAddr}};\ }
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00131\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def_aab19457e9f329c653db2dabf771dda3d}{SecureAreaEndAddr}};\ \ \ }
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00134\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OTPBL\_LOCKBL)}}
\DoxyCodeLine{00135\ \ \ uint32\_t\ OTPBlockLock;\ \ \ }
\DoxyCodeLine{00137\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OTPBL\_LOCKBL\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00138\ }
\DoxyCodeLine{00139\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}}
\DoxyCodeLine{00140\ \ \ uint32\_t\ SharedRamConfig;\ }
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_CPUFREQ\_BOOST)}}
\DoxyCodeLine{00145\ \ \ uint32\_t\ FreqBoostState;\ \ }
\DoxyCodeLine{00147\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_CPUFREQ\_BOOST\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ \}\ \mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def}{FLASH\_OBProgramInitTypeDef}};}
\DoxyCodeLine{00150\ }
\DoxyCodeLine{00154\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00155\ \{}
\DoxyCodeLine{00156\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_a1f1fe092f7a1f9fe7aa8dac1e4b4d9b4}{TypeCRC}};\ \ \ \ \ \ }
\DoxyCodeLine{00158\ }
\DoxyCodeLine{00159\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_a32bf6b4cfa7bba5018f3a3f1a45ba4e1}{BurstSize}};\ \ \ \ }
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_ace452f896737149d988b683dc281afd1}{Bank}};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00165\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_abca61b78540e8669315a39d65bca3271}{Sector}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00168\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_ac5d30b745d4a13331f856de26579f13e}{NbSectors}};\ \ \ \ }
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00171\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_a4a85047d945aa22901847e85b2ae3778}{CRCStartAddr}};\ }
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00174\ \ \ uint32\_t\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def_af0051ec432927719c91b33a9f7184fe3}{CRCEndAddr}};\ \ \ }
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00177\ \}\ \mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def}{FLASH\_CRCInitTypeDef}};}
\DoxyCodeLine{00178\ }
\DoxyCodeLine{00179\ \textcolor{preprocessor}{\#if\ (USE\_FLASH\_ECC\ ==\ 1U)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00183\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00184\ \{}
\DoxyCodeLine{00185\ \ \ uint32\_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Area;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00187\ }
\DoxyCodeLine{00188\ \ \ uint32\_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Address;\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00190\ \}\ FLASH\_EccInfoTypeDef;}
\DoxyCodeLine{00191\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ USE\_FLASH\_ECC\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00192\ }
\DoxyCodeLine{00196\ \textcolor{comment}{/*\ Exported\ constants\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00197\ }
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00205\ \textcolor{preprocessor}{\#define\ FLASH\_TYPEERASE\_SECTORS\ \ \ \ \ \ 0x00U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00206\ \textcolor{preprocessor}{\#define\ FLASH\_TYPEERASE\_MASSERASE\ \ \ \ 0x01U\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00210\ }
\DoxyCodeLine{00211\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_CR\_PSIZE)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00215\ \textcolor{preprocessor}{\#define\ FLASH\_VOLTAGE\_RANGE\_1\ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00216\ \textcolor{preprocessor}{\#define\ FLASH\_VOLTAGE\_RANGE\_2\ \ \ \ \ \ \ \ FLASH\_CR\_PSIZE\_0\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00217\ \textcolor{preprocessor}{\#define\ FLASH\_VOLTAGE\_RANGE\_3\ \ \ \ \ \ \ \ FLASH\_CR\_PSIZE\_1\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00218\ \textcolor{preprocessor}{\#define\ FLASH\_VOLTAGE\_RANGE\_4\ \ \ \ \ \ \ \ FLASH\_CR\_PSIZE\ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00222\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_CR\_PSIZE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00227\ \textcolor{preprocessor}{\#define\ OB\_WRPSTATE\_DISABLE\ \ \ \ \ \ \ \ \ \ 0x00000000U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00228\ \textcolor{preprocessor}{\#define\ OB\_WRPSTATE\_ENABLE\ \ \ \ \ \ \ \ \ \ \ 0x00000001U\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00232\ }
\DoxyCodeLine{00233\ \textcolor{preprocessor}{\#if\ (USE\_FLASH\_ECC\ ==\ 1U)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00238\ \textcolor{preprocessor}{\#define\ FLASH\_ECC\_AREA\_USER\_BANK1\ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00239\ \textcolor{preprocessor}{\#define\ FLASH\_ECC\_AREA\_USER\_BANK2\ \ \ \ \ \ \ \ \ 0x00000001U\ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00243\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ USE\_FLASH\_ECC\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00244\ }
\DoxyCodeLine{00248\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_WRP\ \ \ \ \ \ \ \ \ \ \ 0x01U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00249\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_RDP\ \ \ \ \ \ \ \ \ \ \ 0x02U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00250\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_USER\ \ \ \ \ \ \ \ \ \ 0x04U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00251\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_PCROP\ \ \ \ \ \ \ \ \ 0x08U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00252\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_BOR\ \ \ \ \ \ \ \ \ \ \ 0x10U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00253\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_SECURE\_AREA\ \ \ 0x20U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00254\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{00255\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_CM7\_BOOTADD\ \ \ 0x40U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00256\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_CM4\_BOOTADD\ \ \ 0x80U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00257\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_BOOTADD\ \ \ \ \ \ \ OPTIONBYTE\_CM7\_BOOTADD\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00258\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ Single\ core\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00259\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_BOOTADD\ \ \ \ \ \ \ 0x40U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00260\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*DUAL\_CORE*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00261\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OTPBL\_LOCKBL)}}
\DoxyCodeLine{00262\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_OTP\_LOCK\ \ \ \ \ \ 0x80U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00263\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OTPBL\_LOCKBL\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00264\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}}
\DoxyCodeLine{00265\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_SHARED\_RAM\ \ \ \ 0x100U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00266\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00267\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_CPUFREQ\_BOOST)}}
\DoxyCodeLine{00268\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_FREQ\_BOOST\ \ \ \ 0x200U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00269\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_CPUFREQ\_BOOST\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00270\ }
\DoxyCodeLine{00271\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{00272\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_ALL\ \ \ \ \ \ \ \ \ \ \ (OPTIONBYTE\_WRP\ \ \ \ \ \ \ \ \ |\ OPTIONBYTE\_RDP\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_USER\ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00273\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_PCROP\ \ \ \ \ \ \ |\ OPTIONBYTE\_BOR\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_SECURE\_AREA\ |\(\backslash\)}}
\DoxyCodeLine{00274\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_CM7\_BOOTADD\ |\ OPTIONBYTE\_CM4\_BOOTADD)\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00275\ \textcolor{preprocessor}{\#elif\ defined\ (FLASH\_OTPBL\_LOCKBL)}}
\DoxyCodeLine{00276\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_ALL\ \ \ \ \ \ \ \ \ \ \ (OPTIONBYTE\_WRP\ \ \ \ \ \ \ \ \ |\ OPTIONBYTE\_RDP\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_USER\ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00277\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_PCROP\ \ \ \ \ \ \ |\ OPTIONBYTE\_BOR\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_SECURE\_AREA\ |\(\backslash\)}}
\DoxyCodeLine{00278\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_BOOTADD\ \ \ \ \ |\ OPTIONBYTE\_OTP\_LOCK)\ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00279\ \textcolor{preprocessor}{\#elif\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}}
\DoxyCodeLine{00280\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_ALL\ \ \ \ \ \ \ \ \ \ \ (OPTIONBYTE\_WRP\ \ \ \ \ \ \ \ \ |\ OPTIONBYTE\_RDP\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_USER\ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00281\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_PCROP\ \ \ \ \ \ \ |\ OPTIONBYTE\_BOR\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_SECURE\_AREA\ |\(\backslash\)}}
\DoxyCodeLine{00282\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_BOOTADD\ \ \ \ \ |\ OPTIONBYTE\_SHARED\_RAM\ |\ OPTIONBYTE\_FREQ\_BOOST)\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00283\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00284\ \textcolor{preprocessor}{\#define\ OPTIONBYTE\_ALL\ \ \ \ \ \ \ \ \ \ \ (OPTIONBYTE\_WRP\ \ \ \ \ \ \ \ \ |\ OPTIONBYTE\_RDP\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_USER\ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00285\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_PCROP\ \ \ \ \ \ \ |\ OPTIONBYTE\_BOR\ \ \ \ \ \ \ \ |\ OPTIONBYTE\_SECURE\_AREA\ |\(\backslash\)}}
\DoxyCodeLine{00286\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OPTIONBYTE\_BOOTADD)\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00287\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_CORE\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00291\ }
\DoxyCodeLine{00295\ \textcolor{preprocessor}{\#define\ OB\_RDP\_LEVEL\_0\ \ \ \ \ \ \ 0xAA00U}}
\DoxyCodeLine{00296\ \textcolor{preprocessor}{\#define\ OB\_RDP\_LEVEL\_1\ \ \ \ \ \ \ 0x5500U}}
\DoxyCodeLine{00297\ \textcolor{preprocessor}{\#define\ OB\_RDP\_LEVEL\_2\ \ \ \ \ \ \ 0xCC00U\ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00306\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_SW\ \ \ \ \ \ \ \ \ \ \ OB\_IWDG1\_SW\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00307\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_HW\ \ \ \ \ \ \ \ \ \ \ OB\_IWDG1\_HW\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00311\ }
\DoxyCodeLine{00315\ \textcolor{preprocessor}{\#define\ OB\_STOP\_NO\_RST\ \ \ \ \ \ \ 0x40U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00316\ \textcolor{preprocessor}{\#define\ OB\_STOP\_RST\ \ \ \ \ \ \ \ \ \ 0x00U\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00320\ }
\DoxyCodeLine{00324\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_NO\_RST\ \ \ \ \ \ 0x80U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00325\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_RST\ \ \ \ \ \ \ \ \ 0x00U\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00329\ }
\DoxyCodeLine{00333\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_STOP\_FREEZE\ \ 0x00000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00334\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_STOP\_ACTIVE\ \ FLASH\_OPTSR\_FZ\_IWDG\_STOP\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00338\ }
\DoxyCodeLine{00342\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_STDBY\_FREEZE\ 0x00000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00343\ \textcolor{preprocessor}{\#define\ OB\_IWDG\_STDBY\_ACTIVE\ FLASH\_OPTSR\_FZ\_IWDG\_SDBY\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00347\ }
\DoxyCodeLine{00351\ \textcolor{preprocessor}{\#define\ OB\_BOR\_LEVEL0\ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00352\ \textcolor{preprocessor}{\#define\ OB\_BOR\_LEVEL1\ \ \ \ \ \ \ \ FLASH\_OPTSR\_BOR\_LEV\_0\ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00353\ \textcolor{preprocessor}{\#define\ OB\_BOR\_LEVEL2\ \ \ \ \ \ \ \ FLASH\_OPTSR\_BOR\_LEV\_1\ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00354\ \textcolor{preprocessor}{\#define\ OB\_BOR\_LEVEL3\ \ \ \ \ \ \ \ (FLASH\_OPTSR\_BOR\_LEV\_1\ |\ FLASH\_OPTSR\_BOR\_LEV\_0)\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00358\ }
\DoxyCodeLine{00359\ }
\DoxyCodeLine{00360\ }
\DoxyCodeLine{00364\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_ITCM\_RAM\ \ \ \ \ 0x0000U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00365\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_SYSTEM\ \ \ \ \ \ \ 0x0040U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00366\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_ITCM\_FLASH\ \ \ 0x0080U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00367\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_AXIM\_FLASH\ \ \ 0x2000U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00368\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_DTCM\_RAM\ \ \ \ \ 0x8000U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00369\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_SRAM1\ \ \ \ \ \ \ \ 0x8004U\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00370\ \textcolor{preprocessor}{\#define\ OB\_BOOTADDR\_SRAM2\ \ \ \ \ \ \ \ 0x8013U\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00374\ }
\DoxyCodeLine{00378\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_0\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_0WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00379\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_1\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_1WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00380\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_2\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_2WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00381\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_3\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_3WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00382\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_4\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_4WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00383\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_5\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_5WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00384\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_6\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_6WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00385\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_7\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_7WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00386\ }
\DoxyCodeLine{00387\ \textcolor{comment}{/*\ Unused\ FLASH\ Latency\ defines\ */}}
\DoxyCodeLine{00388\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_8\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_8WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00389\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_9\ \ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_9WS\ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00390\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_10\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_10WS\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00391\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_11\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_11WS\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00392\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_12\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_12WS\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00393\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_13\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_13WS\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00394\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_14\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_14WS\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00395\ \textcolor{preprocessor}{\#define\ FLASH\_LATENCY\_15\ \ \ \ \ \ \ \ \ FLASH\_ACR\_LATENCY\_15WS\ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00399\ }
\DoxyCodeLine{00403\ \textcolor{preprocessor}{\#define\ FLASH\_BANK\_1\ \ \ \ \ \ \ \ \ \ \ \ \ 0x01U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00404\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00405\ \textcolor{preprocessor}{\#define\ FLASH\_BANK\_2\ \ \ \ \ \ \ \ \ \ \ \ \ 0x02U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00406\ \textcolor{preprocessor}{\#define\ FLASH\_BANK\_BOTH\ \ \ \ \ \ \ \ \ \ (FLASH\_BANK\_1\ |\ FLASH\_BANK\_2)\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00407\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00411\ }
\DoxyCodeLine{00415\ \textcolor{preprocessor}{\#define\ OB\_PCROP\_RDP\_NOT\_ERASE\ \ \ 0x00000000U\ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00417\ \textcolor{preprocessor}{\#define\ OB\_PCROP\_RDP\_ERASE\ \ \ \ \ \ \ FLASH\_PRAR\_DMEP\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00419\ }
\DoxyCodeLine{00423\ }
\DoxyCodeLine{00427\ \textcolor{preprocessor}{\#if\ (FLASH\_SECTOR\_TOTAL\ ==\ 128)}}
\DoxyCodeLine{00428\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_0TO3\ \ \ \ \ \ \ 0x00000001U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00429\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_4TO7\ \ \ \ \ \ \ 0x00000002U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00430\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_8TO11\ \ \ \ \ \ 0x00000004U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00431\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_12TO15\ \ \ \ \ 0x00000008U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00432\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_16TO19\ \ \ \ \ 0x00000010U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00433\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_20TO23\ \ \ \ \ 0x00000020U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00434\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_24TO27\ \ \ \ \ 0x00000040U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00435\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_28TO31\ \ \ \ \ 0x00000080U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00436\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_32TO35\ \ \ \ \ 0x00000100U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00437\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_36TO39\ \ \ \ \ 0x00000200U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00438\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_40TO43\ \ \ \ \ 0x00000400U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00439\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_44TO47\ \ \ \ \ 0x00000800U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00440\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_48TO51\ \ \ \ \ 0x00001000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00441\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_52TO55\ \ \ \ \ 0x00002000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00442\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_56TO59\ \ \ \ \ 0x00004000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00443\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_60TO63\ \ \ \ \ 0x00008000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00444\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_64TO67\ \ \ \ \ 0x00010000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00445\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_68TO71\ \ \ \ \ 0x00020000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00446\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_72TO75\ \ \ \ \ 0x00040000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00447\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_76TO79\ \ \ \ \ 0x00080000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00448\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_80TO83\ \ \ \ \ 0x00100000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00449\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_84TO87\ \ \ \ \ 0x00200000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00450\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_88TO91\ \ \ \ \ 0x00400000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00451\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_92TO95\ \ \ \ \ 0x00800000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00452\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_96TO99\ \ \ \ \ 0x01000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00453\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_100TO103\ \ \ 0x02000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00454\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_104TO107\ \ \ 0x04000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00455\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_108TO111\ \ \ 0x08000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00456\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_112TO115\ \ \ 0x10000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00457\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_116TO119\ \ \ 0x20000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00458\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_120TO123\ \ \ 0x40000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00459\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_124TO127\ \ \ 0x80000000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00460\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_ALL\ \ \ \ \ \ \ \ 0xFFFFFFFFU\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00461\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00462\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_0\ \ \ \ \ \ \ \ \ \ 0x00000001U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00463\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_1\ \ \ \ \ \ \ \ \ \ 0x00000002U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00464\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_2\ \ \ \ \ \ \ \ \ \ 0x00000004U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00465\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_3\ \ \ \ \ \ \ \ \ \ 0x00000008U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00466\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_4\ \ \ \ \ \ \ \ \ \ 0x00000010U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00467\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_5\ \ \ \ \ \ \ \ \ \ 0x00000020U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00468\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_6\ \ \ \ \ \ \ \ \ \ 0x00000040U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00469\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_7\ \ \ \ \ \ \ \ \ \ 0x00000080U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00470\ \textcolor{preprocessor}{\#define\ OB\_WRP\_SECTOR\_ALL\ \ \ \ \ \ \ \ 0x000000FFU\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00471\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_SECTOR\_TOTAL\ ==\ 128\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00475\ }
\DoxyCodeLine{00479\ \textcolor{preprocessor}{\#define\ OB\_SECURITY\_DISABLE\ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00480\ \textcolor{preprocessor}{\#define\ OB\_SECURITY\_ENABLE\ \ \ \ FLASH\_OPTSR\_SECURITY\ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00484\ }
\DoxyCodeLine{00488\ \textcolor{preprocessor}{\#define\ OB\_ST\_RAM\_SIZE\_2KB\ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00489\ \textcolor{preprocessor}{\#define\ OB\_ST\_RAM\_SIZE\_4KB\ \ \ \ FLASH\_OPTSR\_ST\_RAM\_SIZE\_0\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00490\ \textcolor{preprocessor}{\#define\ OB\_ST\_RAM\_SIZE\_8KB\ \ \ \ FLASH\_OPTSR\_ST\_RAM\_SIZE\_1\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00491\ \textcolor{preprocessor}{\#define\ OB\_ST\_RAM\_SIZE\_16KB\ \ \ FLASH\_OPTSR\_ST\_RAM\_SIZE\ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00495\ }
\DoxyCodeLine{00496\ \textcolor{preprocessor}{\#if\ defined(DUAL\_CORE)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00500\ \textcolor{preprocessor}{\#define\ OB\_BCM7\_DISABLE\ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00501\ \textcolor{preprocessor}{\#define\ OB\_BCM7\_ENABLE\ \ \ \ \ \ \ \ FLASH\_OPTSR\_BCM7\ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00502\ }
\DoxyCodeLine{00506\ }
\DoxyCodeLine{00510\ \textcolor{preprocessor}{\#define\ OB\_BCM4\_DISABLE\ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00511\ \textcolor{preprocessor}{\#define\ OB\_BCM4\_ENABLE\ \ \ \ \ \ \ \ FLASH\_OPTSR\_BCM4\ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00515\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_CORE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00516\ }
\DoxyCodeLine{00520\ \textcolor{preprocessor}{\#define\ OB\_IWDG1\_SW\ \ \ \ \ \ \ \ \ \ \ \ FLASH\_OPTSR\_IWDG1\_SW\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00521\ \textcolor{preprocessor}{\#define\ OB\_IWDG1\_HW\ \ \ \ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00525\ }
\DoxyCodeLine{00526\ \textcolor{preprocessor}{\#if\ defined(DUAL\_CORE)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00530\ \textcolor{preprocessor}{\#define\ OB\_IWDG2\_SW\ \ \ \ \ \ \ \ \ \ \ \ FLASH\_OPTSR\_IWDG2\_SW\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00531\ \textcolor{preprocessor}{\#define\ OB\_IWDG2\_HW\ \ \ \ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00535\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00536\ }
\DoxyCodeLine{00540\ \textcolor{preprocessor}{\#define\ OB\_STOP\_RST\_D1\ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00541\ \textcolor{preprocessor}{\#define\ OB\_STOP\_NO\_RST\_D1\ \ \ \ \ \ FLASH\_OPTSR\_NRST\_STOP\_D1\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00545\ }
\DoxyCodeLine{00549\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_RST\_D1\ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00550\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_NO\_RST\_D1\ \ \ \ \ FLASH\_OPTSR\_NRST\_STBY\_D1\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00554\ }
\DoxyCodeLine{00555\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_NRST\_STOP\_D2)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00559\ \textcolor{preprocessor}{\#define\ OB\_STOP\_RST\_D2\ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00560\ \textcolor{preprocessor}{\#define\ OB\_STOP\_NO\_RST\_D2\ \ \ \ \ \ FLASH\_OPTSR\_NRST\_STOP\_D2\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00564\ }
\DoxyCodeLine{00568\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_RST\_D2\ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00569\ \textcolor{preprocessor}{\#define\ OB\_STDBY\_NO\_RST\_D2\ \ \ \ \ FLASH\_OPTSR\_NRST\_STBY\_D2\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00573\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_NRST\_STOP\_D2\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00574\ }
\DoxyCodeLine{00575\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00579\ \textcolor{preprocessor}{\#define\ OB\_SWAP\_BANK\_DISABLE\ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00580\ \textcolor{preprocessor}{\#define\ OB\_SWAP\_BANK\_ENABLE\ \ \ \ FLASH\_OPTSR\_SWAP\_BANK\_OPT\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00584\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00585\ }
\DoxyCodeLine{00589\ \textcolor{preprocessor}{\#define\ OB\_IOHSLV\_DISABLE\ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00590\ \textcolor{preprocessor}{\#define\ OB\_IOHSLV\_ENABLE\ \ \ \ \ \ \ FLASH\_OPTSR\_IO\_HSLV\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00594\ }
\DoxyCodeLine{00595\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_VDDMMC\_HSLV)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00599\ \textcolor{preprocessor}{\#define\ OB\_VDDMMC\_HSLV\_DISABLE\ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00600\ \textcolor{preprocessor}{\#define\ OB\_VDDMMC\_HSLV\_ENABLE\ \ FLASH\_OPTSR\_VDDMMC\_HSLV\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00604\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_VDDMMC\_HSLV\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00605\ }
\DoxyCodeLine{00606\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_CPUFREQ\_BOOST)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00610\ \textcolor{preprocessor}{\#define\ OB\_CPUFREQ\_BOOST\_DISABLE\ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00611\ \textcolor{preprocessor}{\#define\ OB\_CPUFREQ\_BOOST\_ENABLE\ \ \ \ \ \ FLASH\_OPTSR2\_CPUFREQ\_BOOST\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00615\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_CPUFREQ\_BOOST\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00616\ }
\DoxyCodeLine{00617\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00621\ \textcolor{preprocessor}{\#define\ OB\_TCM\_AXI\_SHARED\_ITCM64KB\ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00622\ \textcolor{preprocessor}{\#define\ OB\_TCM\_AXI\_SHARED\_ITCM128KB\ \ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\_0\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00623\ \textcolor{preprocessor}{\#define\ OB\_TCM\_AXI\_SHARED\_ITCM192KB\ \ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\_1\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00624\ \textcolor{preprocessor}{\#define\ OB\_TCM\_AXI\_SHARED\_ITCM256KB\ \ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00628\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00629\ }
\DoxyCodeLine{00633\ \textcolor{preprocessor}{\#define\ OB\_USER\_IWDG1\_SW\ \ \ \ \ \ \ \ \ \ 0x0001U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00634\ \textcolor{preprocessor}{\#define\ OB\_USER\_NRST\_STOP\_D1\ \ \ \ \ \ 0x0002U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00635\ \textcolor{preprocessor}{\#define\ OB\_USER\_NRST\_STDBY\_D1\ \ \ \ \ 0x0004U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00636\ \textcolor{preprocessor}{\#define\ OB\_USER\_IWDG\_STOP\ \ \ \ \ \ \ \ \ 0x0008U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00637\ \textcolor{preprocessor}{\#define\ OB\_USER\_IWDG\_STDBY\ \ \ \ \ \ \ \ 0x0010U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00638\ \textcolor{preprocessor}{\#define\ OB\_USER\_ST\_RAM\_SIZE\ \ \ \ \ \ \ 0x0020U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00639\ \textcolor{preprocessor}{\#define\ OB\_USER\_SECURITY\ \ \ \ \ \ \ \ \ \ 0x0040U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00640\ \textcolor{preprocessor}{\#define\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ \ \ \ \ \ 0x0080U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00641\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00642\ \textcolor{preprocessor}{\#define\ OB\_USER\_SWAP\_BANK\ \ \ \ \ \ \ \ \ 0x0100U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00643\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00644\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_VDDMMC\_HSLV)}}
\DoxyCodeLine{00645\ \textcolor{preprocessor}{\#define\ OB\_USER\_VDDMMC\_HSLV\ \ \ \ \ \ \ 0x0200U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00646\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_VDDMMC\_HSLV\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00647\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{00648\ \textcolor{preprocessor}{\#define\ OB\_USER\_IWDG2\_SW\ \ \ \ \ \ \ \ \ \ 0x0200U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00649\ \textcolor{preprocessor}{\#define\ OB\_USER\_BCM4\ \ \ \ \ \ \ \ \ \ \ \ \ \ 0x0400U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00650\ \textcolor{preprocessor}{\#define\ OB\_USER\_BCM7\ \ \ \ \ \ \ \ \ \ \ \ \ \ 0x0800U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00651\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*DUAL\_CORE*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00652\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_NRST\_STOP\_D2)}}
\DoxyCodeLine{00653\ \textcolor{preprocessor}{\#define\ OB\_USER\_NRST\_STOP\_D2\ \ \ \ \ \ 0x1000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00654\ \textcolor{preprocessor}{\#define\ OB\_USER\_NRST\_STDBY\_D2\ \ \ \ \ 0x2000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00655\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_NRST\_STOP\_D2\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00656\ }
\DoxyCodeLine{00657\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{00658\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00659\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00660\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ |\ OB\_USER\_SWAP\_BANK\ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00661\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG2\_SW\ \ \ \ \ |\ OB\_USER\_BCM4\ \ \ \ \ \ \ \ \ |\ OB\_USER\_BCM7\ \ \ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00662\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_NRST\_STOP\_D2\ |\ OB\_USER\_NRST\_STDBY\_D2)}}
\DoxyCodeLine{00663\ \textcolor{preprocessor}{\#elif\ defined\ (FLASH\_OPTSR\_VDDMMC\_HSLV)}}
\DoxyCodeLine{00664\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00665\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00666\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00667\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ |\ OB\_USER\_SWAP\_BANK\ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00668\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_VDDMMC\_HSLV)}}
\DoxyCodeLine{00669\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00670\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00671\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00672\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00673\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_VDDMMC\_HSLV)}}
\DoxyCodeLine{00674\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00675\ \textcolor{preprocessor}{\#elif\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}}
\DoxyCodeLine{00676\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00677\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00678\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |\(\backslash\)}}
\DoxyCodeLine{00679\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_NRST\_STOP\_D2\ |\ OB\_USER\_NRST\_STDBY\_D2)}}
\DoxyCodeLine{00680\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ Single\ core\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00681\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00682\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00683\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00684\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ |\ OB\_USER\_SWAP\_BANK\ \ \ \ \ )}}
\DoxyCodeLine{00685\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00686\ \textcolor{preprocessor}{\#define\ OB\_USER\_ALL\ (OB\_USER\_IWDG1\_SW\ \ \ \ \ |\ OB\_USER\_NRST\_STOP\_D1\ |\ OB\_USER\_NRST\_STDBY\_D1\ |\(\backslash\)}}
\DoxyCodeLine{00687\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_IWDG\_STOP\ \ \ \ |\ OB\_USER\_IWDG\_STDBY\ \ \ |\ OB\_USER\_ST\_RAM\_SIZE\ \ \ |\(\backslash\)}}
\DoxyCodeLine{00688\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ OB\_USER\_SECURITY\ \ \ \ \ |\ OB\_USER\_IOHSLV\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ )}}
\DoxyCodeLine{00689\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00690\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_CORE\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00694\ }
\DoxyCodeLine{00698\ \textcolor{preprocessor}{\#define\ OB\_BOOT\_ADD0\ \ \ \ \ \ \ \ \ \ \ 0x01U\ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00699\ \textcolor{preprocessor}{\#define\ OB\_BOOT\_ADD1\ \ \ \ \ \ \ \ \ \ \ 0x02U\ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00700\ \textcolor{preprocessor}{\#define\ OB\_BOOT\_ADD\_BOTH\ \ \ \ \ \ \ 0x03U\ \ \ \ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00704\ }
\DoxyCodeLine{00708\ \textcolor{preprocessor}{\#define\ OB\_SECURE\_RDP\_NOT\_ERASE\ \ \ 0x00000000U\ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00710\ \textcolor{preprocessor}{\#define\ OB\_SECURE\_RDP\_ERASE\ \ \ \ \ \ \ FLASH\_SCAR\_DMES\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00715\ }
\DoxyCodeLine{00719\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_ADDR\ \ \ \ \ \ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00720\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_SECTORS\ \ \ \ \ \ FLASH\_CRCCR\_CRC\_BY\_SECT\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00721\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_BANK\ \ \ \ \ \ \ \ \ (FLASH\_CRCCR\_ALL\_BANK\ |\ FLASH\_CRCCR\_CRC\_BY\_SECT)\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00725\ }
\DoxyCodeLine{00729\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_BURST\_SIZE\_4\ \ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00730\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_BURST\_SIZE\_16\ \ \ FLASH\_CRCCR\_CRC\_BURST\_0\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00731\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_BURST\_SIZE\_64\ \ \ FLASH\_CRCCR\_CRC\_BURST\_1\ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00732\ \textcolor{preprocessor}{\#define\ FLASH\_CRC\_BURST\_SIZE\_256\ \ FLASH\_CRCCR\_CRC\_BURST\ \ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00736\ }
\DoxyCodeLine{00740\ \textcolor{preprocessor}{\#define\ FLASH\_PROGRAMMING\_DELAY\_0\ \ \ 0x00000000U\ \ \ \ \ \ \ \ \ \ \ \ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00741\ \textcolor{preprocessor}{\#define\ FLASH\_PROGRAMMING\_DELAY\_1\ \ \ FLASH\_ACR\_WRHIGHFREQ\_0\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00742\ \textcolor{preprocessor}{\#define\ FLASH\_PROGRAMMING\_DELAY\_2\ \ \ FLASH\_ACR\_WRHIGHFREQ\_1\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00743\ \textcolor{preprocessor}{\#define\ FLASH\_PROGRAMMING\_DELAY\_3\ \ \ FLASH\_ACR\_WRHIGHFREQ\ \ \ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00747\ }
\DoxyCodeLine{00748\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OTPBL\_LOCKBL)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00752\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_0\ \ \ \ \ \ \ \ \ \ 0x00000001U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00753\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_1\ \ \ \ \ \ \ \ \ \ 0x00000002U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00754\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_2\ \ \ \ \ \ \ \ \ \ 0x00000004U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00755\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_3\ \ \ \ \ \ \ \ \ \ 0x00000008U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00756\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_4\ \ \ \ \ \ \ \ \ \ 0x00000010U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00757\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_5\ \ \ \ \ \ \ \ \ \ 0x00000020U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00758\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_6\ \ \ \ \ \ \ \ \ \ 0x00000040U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00759\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_7\ \ \ \ \ \ \ \ \ \ 0x00000080U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00760\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_8\ \ \ \ \ \ \ \ \ \ 0x00000100U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00761\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_9\ \ \ \ \ \ \ \ \ \ 0x00000200U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00762\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_10\ \ \ \ \ \ \ \ \ 0x00000400U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00763\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_11\ \ \ \ \ \ \ \ \ 0x00000800U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00764\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_12\ \ \ \ \ \ \ \ \ 0x00001000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00765\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_13\ \ \ \ \ \ \ \ \ 0x00002000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00766\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_14\ \ \ \ \ \ \ \ \ 0x00004000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00767\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_15\ \ \ \ \ \ \ \ \ 0x00008000U\ }\textcolor{preprocessor}{}}
\DoxyCodeLine{00768\ \textcolor{preprocessor}{\#define\ FLASH\_OTP\_BLOCK\_ALL\ \ \ \ \ \ \ \ 0x0000FFFFU\ }\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00772\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OTPBL\_LOCKBL\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{00776\ }
\DoxyCodeLine{00777\ \textcolor{comment}{/*\ Exported\ macro\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00787\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_CALC\_BOOT\_BASE\_ADR(\_\_ADDRESS\_\_)\ ((\_\_ADDRESS\_\_)\ >>\ 14U)}}
\DoxyCodeLine{00788\ }
\DoxyCodeLine{00789\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_CR\_PSIZE)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00797\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00798\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_SET\_PSIZE(\_\_PSIZE\_\_,\ \_\_BANK\_\_)\ (((\_\_BANK\_\_)\ ==\ FLASH\_BANK\_1)\ \ ?\ \(\backslash\)}}
\DoxyCodeLine{00799\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MODIFY\_REG(FLASH-\/>CR1,\ FLASH\_CR\_PSIZE,\ (\_\_PSIZE\_\_))\ :\ \(\backslash\)}}
\DoxyCodeLine{00800\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MODIFY\_REG(FLASH-\/>CR2,\ FLASH\_CR\_PSIZE,\ (\_\_PSIZE\_\_)))}}
\DoxyCodeLine{00801\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00802\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_SET\_PSIZE(\_\_PSIZE\_\_,\ \_\_BANK\_\_)\ \ MODIFY\_REG(FLASH-\/>CR1,\ FLASH\_CR\_PSIZE,\ (\_\_PSIZE\_\_))}}
\DoxyCodeLine{00803\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00804\ }
\DoxyCodeLine{00811\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00812\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_GET\_PSIZE(\_\_BANK\_\_)\ (((\_\_BANK\_\_)\ ==\ FLASH\_BANK\_1)\ ?\ \(\backslash\)}}
\DoxyCodeLine{00813\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ READ\_BIT((FLASH-\/>CR1),\ FLASH\_CR\_PSIZE)\ \ :\ \(\backslash\)}}
\DoxyCodeLine{00814\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ READ\_BIT((FLASH-\/>CR2),\ FLASH\_CR\_PSIZE))}}
\DoxyCodeLine{00815\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00816\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_GET\_PSIZE(\_\_BANK\_\_)\ \ READ\_BIT((FLASH-\/>CR1),\ FLASH\_CR\_PSIZE)}}
\DoxyCodeLine{00817\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00818\ }
\DoxyCodeLine{00819\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_CR\_PSIZE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00820\ }
\DoxyCodeLine{00827\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_SET\_PROGRAM\_DELAY(\_\_DELAY\_\_)\ \ MODIFY\_REG(FLASH-\/>ACR,\ FLASH\_ACR\_WRHIGHFREQ,\ (\_\_DELAY\_\_))}}
\DoxyCodeLine{00828\ }
\DoxyCodeLine{00834\ \textcolor{preprocessor}{\#define\ \_\_HAL\_FLASH\_GET\_PROGRAM\_DELAY()\ \ \ \ \ READ\_BIT(FLASH-\/>ACR,\ FLASH\_ACR\_WRHIGHFREQ)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00838\ }
\DoxyCodeLine{00839\ \textcolor{comment}{/*\ Exported\ functions\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00843\ }
\DoxyCodeLine{00847\ \textcolor{comment}{/*\ Extension\ Program\ operation\ functions\ \ *************************************/}}
\DoxyCodeLine{00848\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Erase(\mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def}{FLASH\_EraseInitTypeDef}}\ *pEraseInit,\ uint32\_t\ *SectorError);}
\DoxyCodeLine{00849\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Erase\_IT(\mbox{\hyperlink{struct_f_l_a_s_h___erase_init_type_def}{FLASH\_EraseInitTypeDef}}\ *pEraseInit);}
\DoxyCodeLine{00850\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_OBProgram(\mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def}{FLASH\_OBProgramInitTypeDef}}\ *pOBInit);}
\DoxyCodeLine{00851\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_OBGetConfig(\mbox{\hyperlink{struct_f_l_a_s_h___o_b_program_init_type_def}{FLASH\_OBProgramInitTypeDef}}\ *pOBInit);}
\DoxyCodeLine{00852\ }
\DoxyCodeLine{00853\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Unlock\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00854\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Lock\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00855\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00856\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Unlock\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00857\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_Lock\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00858\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00859\ }
\DoxyCodeLine{00860\ \mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\_StatusTypeDef}}\ HAL\_FLASHEx\_ComputeCRC(\mbox{\hyperlink{struct_f_l_a_s_h___c_r_c_init_type_def}{FLASH\_CRCInitTypeDef}}\ *pCRCInit,\ uint32\_t\ *CRC\_Result);}
\DoxyCodeLine{00861\ }
\DoxyCodeLine{00865\ }
\DoxyCodeLine{00866\ \textcolor{preprocessor}{\#if\ (USE\_FLASH\_ECC\ ==\ 1U)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00870\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccCorrectionInterrupt(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00871\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccCorrectionInterrupt(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00872\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccCorrectionInterrupt\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00873\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccCorrectionInterrupt\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00874\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00875\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccCorrectionInterrupt\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00876\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccCorrectionInterrupt\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00877\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00878\ }
\DoxyCodeLine{00879\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccDetectionInterrupt(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00880\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccDetectionInterrupt(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00881\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccDetectionInterrupt\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00882\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccDetectionInterrupt\_Bank1(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00883\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00884\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_EnableEccDetectionInterrupt\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00885\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_DisableEccDetectionInterrupt\_Bank2(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00886\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00887\ }
\DoxyCodeLine{00888\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_GetEccInfo(FLASH\_EccInfoTypeDef\ *pData);}
\DoxyCodeLine{00889\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ HAL\_FLASHEx\_BusFault\_IRQHandler(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00890\ }
\DoxyCodeLine{00891\ \_\_weak\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ HAL\_FLASHEx\_EccDetectionCallback(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00892\ \_\_weak\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ HAL\_FLASHEx\_EccCorrectionCallback(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00896\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ USE\_FLASH\_ECC\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00897\ }
\DoxyCodeLine{00901\ \textcolor{comment}{/*\ Private\ types\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00902\ \textcolor{comment}{/*\ Private\ variables\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00903\ \textcolor{comment}{/*\ Private\ constants\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00904\ \textcolor{comment}{/*\ Private\ macros\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{00908\ }
\DoxyCodeLine{00912\ }
\DoxyCodeLine{00913\ \textcolor{preprocessor}{\#define\ IS\_FLASH\_TYPEERASE(VALUE)\ \ \ \ \ \ \ \ (((VALUE)\ ==\ FLASH\_TYPEERASE\_SECTORS)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00914\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ FLASH\_TYPEERASE\_MASSERASE))}}
\DoxyCodeLine{00915\ }
\DoxyCodeLine{00916\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_CR\_PSIZE)}}
\DoxyCodeLine{00917\ \textcolor{preprocessor}{\#define\ IS\_VOLTAGERANGE(RANGE)\ \ \ \ \ \ \ \ \ \ \ (((RANGE)\ ==\ FLASH\_VOLTAGE\_RANGE\_1)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00918\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((RANGE)\ ==\ FLASH\_VOLTAGE\_RANGE\_2)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00919\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((RANGE)\ ==\ FLASH\_VOLTAGE\_RANGE\_3)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00920\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((RANGE)\ ==\ FLASH\_VOLTAGE\_RANGE\_4))}}
\DoxyCodeLine{00921\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_CR\_PSIZE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00922\ }
\DoxyCodeLine{00923\ \textcolor{preprocessor}{\#define\ IS\_WRPSTATE(VALUE)\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_WRPSTATE\_DISABLE)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00924\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ OB\_WRPSTATE\_ENABLE))}}
\DoxyCodeLine{00925\ }
\DoxyCodeLine{00926\ \textcolor{preprocessor}{\#define\ IS\_OPTIONBYTE(VALUE)\ \ \ \ \ \ \ \ \ \ \ \ \ ((((VALUE)\ \&\ OPTIONBYTE\_ALL)\ !=\ 0U)\ \&\&\ \(\backslash\)}}
\DoxyCodeLine{00927\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (((VALUE)\ \&\ \string~OPTIONBYTE\_ALL)\ ==\ 0U))}}
\DoxyCodeLine{00928\ }
\DoxyCodeLine{00929\ \textcolor{preprocessor}{\#define\ IS\_OB\_BOOT\_ADDRESS(ADDRESS)\ \ \ \ \ \ ((ADDRESS)\ <=\ 0x8013U)}}
\DoxyCodeLine{00930\ }
\DoxyCodeLine{00931\ \textcolor{preprocessor}{\#define\ IS\_OB\_RDP\_LEVEL(LEVEL)\ \ \ \ \ \ \ \ \ \ \ (((LEVEL)\ ==\ OB\_RDP\_LEVEL\_0)\ \ \ ||\(\backslash\)}}
\DoxyCodeLine{00932\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LEVEL)\ ==\ OB\_RDP\_LEVEL\_1)\ \ \ ||\(\backslash\)}}
\DoxyCodeLine{00933\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LEVEL)\ ==\ OB\_RDP\_LEVEL\_2))}}
\DoxyCodeLine{00934\ }
\DoxyCodeLine{00935\ \textcolor{preprocessor}{\#define\ IS\_OB\_IWDG\_SOURCE(SOURCE)\ \ \ \ \ \ \ \ (((SOURCE)\ ==\ OB\_IWDG\_SW)\ ||\ ((SOURCE)\ ==\ OB\_IWDG\_HW))}}
\DoxyCodeLine{00936\ }
\DoxyCodeLine{00937\ \textcolor{preprocessor}{\#define\ IS\_OB\_STOP\_SOURCE(SOURCE)\ \ \ \ \ \ \ \ (((SOURCE)\ ==\ OB\_STOP\_NO\_RST)\ ||\ ((SOURCE)\ ==\ OB\_STOP\_RST))}}
\DoxyCodeLine{00938\ }
\DoxyCodeLine{00939\ \textcolor{preprocessor}{\#define\ IS\_OB\_STDBY\_SOURCE(SOURCE)\ \ \ \ \ \ \ (((SOURCE)\ ==\ OB\_STDBY\_NO\_RST)\ ||\ ((SOURCE)\ ==\ OB\_STDBY\_RST))}}
\DoxyCodeLine{00940\ }
\DoxyCodeLine{00941\ \textcolor{preprocessor}{\#define\ IS\_OB\_IWDG\_STOP\_FREEZE(FREEZE)\ \ \ (((FREEZE)\ ==\ OB\_IWDG\_STOP\_FREEZE)\ ||\ ((FREEZE)\ ==\ OB\_IWDG\_STOP\_ACTIVE))}}
\DoxyCodeLine{00942\ }
\DoxyCodeLine{00943\ \textcolor{preprocessor}{\#define\ IS\_OB\_IWDG\_STDBY\_FREEZE(FREEZE)\ \ (((FREEZE)\ ==\ OB\_IWDG\_STDBY\_FREEZE)\ ||\ ((FREEZE)\ ==\ OB\_IWDG\_STDBY\_ACTIVE))}}
\DoxyCodeLine{00944\ }
\DoxyCodeLine{00945\ \textcolor{preprocessor}{\#define\ IS\_OB\_BOR\_LEVEL(LEVEL)\ \ \ \ \ \ \ \ \ \ \ (((LEVEL)\ ==\ OB\_BOR\_LEVEL0)\ ||\ ((LEVEL)\ ==\ OB\_BOR\_LEVEL1)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00946\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LEVEL)\ ==\ OB\_BOR\_LEVEL2)\ ||\ ((LEVEL)\ ==\ OB\_BOR\_LEVEL3))}}
\DoxyCodeLine{00947\ }
\DoxyCodeLine{00948\ \textcolor{preprocessor}{\#define\ IS\_FLASH\_LATENCY(LATENCY)\ \ \ \ \ \ \ \ (((LATENCY)\ ==\ FLASH\_LATENCY\_0)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00949\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_1)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00950\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_2)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00951\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_3)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00952\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_4)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00953\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_5)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00954\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_6)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00955\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_7)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00956\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_8)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00957\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_9)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00958\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_10)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00959\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_11)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00960\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_12)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00961\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_13)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00962\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_14)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00963\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((LATENCY)\ ==\ FLASH\_LATENCY\_15))}}
\DoxyCodeLine{00964\ }
\DoxyCodeLine{00965\ \textcolor{preprocessor}{\#define\ IS\_FLASH\_SECTOR(SECTOR)\ \ \ \ \ \ \ \ \ \ ((SECTOR)\ <\ FLASH\_SECTOR\_TOTAL)}}
\DoxyCodeLine{00966\ }
\DoxyCodeLine{00967\ \textcolor{preprocessor}{\#if\ (FLASH\_SECTOR\_TOTAL\ ==\ 8U)}}
\DoxyCodeLine{00968\ \textcolor{preprocessor}{\#define\ IS\_OB\_WRP\_SECTOR(SECTOR)\ \ \ \ \ \ \ \ \ ((((SECTOR)\ \&\ 0xFFFFFF00U)\ ==\ 0x00000000U)\ \&\&\ ((SECTOR)\ !=\ 0x00000000U))}}
\DoxyCodeLine{00969\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00970\ \textcolor{preprocessor}{\#define\ IS\_OB\_WRP\_SECTOR(SECTOR)\ \ \ \ \ \ \ \ \ ((SECTOR)\ !=\ 0x00000000U)}}
\DoxyCodeLine{00971\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_SECTOR\_TOTAL\ ==\ 8U\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00972\ }
\DoxyCodeLine{00973\ \textcolor{preprocessor}{\#define\ IS\_OB\_PCROP\_RDP(CONFIG)\ \ \ \ \ \ \ \ \ \ (((CONFIG)\ ==\ OB\_PCROP\_RDP\_NOT\_ERASE)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00974\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((CONFIG)\ ==\ OB\_PCROP\_RDP\_ERASE))}}
\DoxyCodeLine{00975\ }
\DoxyCodeLine{00976\ \textcolor{preprocessor}{\#define\ IS\_OB\_SECURE\_RDP(CONFIG)\ \ \ \ \ \ \ \ \ (((CONFIG)\ ==\ OB\_SECURE\_RDP\_NOT\_ERASE)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00977\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((CONFIG)\ ==\ OB\_SECURE\_RDP\_ERASE))}}
\DoxyCodeLine{00978\ }
\DoxyCodeLine{00979\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_BANK)}}
\DoxyCodeLine{00980\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_SWAP\_BANK(VALUE)\ \ \ \ \ \ (((VALUE)\ ==\ OB\_SWAP\_BANK\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_SWAP\_BANK\_ENABLE))}}
\DoxyCodeLine{00981\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_BANK\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00982\ }
\DoxyCodeLine{00983\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_IOHSLV(VALUE)\ \ \ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_IOHSLV\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_IOHSLV\_ENABLE))}}
\DoxyCodeLine{00984\ }
\DoxyCodeLine{00985\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_VDDMMC\_HSLV)}}
\DoxyCodeLine{00986\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_VDDMMC\_HSLV(VALUE)\ \ \ \ (((VALUE)\ ==\ OB\_VDDMMC\_HSLV\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_VDDMMC\_HSLV\_ENABLE))}}
\DoxyCodeLine{00987\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_VDDMMC\_HSLV\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00988\ }
\DoxyCodeLine{00989\ \textcolor{preprocessor}{\#define\ IS\_OB\_IWDG1\_SOURCE(SOURCE)\ \ \ \ \ \ \ (((SOURCE)\ ==\ OB\_IWDG1\_SW)\ ||\ ((SOURCE)\ ==\ OB\_IWDG1\_HW))}}
\DoxyCodeLine{00990\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{00991\ \textcolor{preprocessor}{\#define\ IS\_OB\_IWDG2\_SOURCE(SOURCE)\ \ \ \ \ \ \ (((SOURCE)\ ==\ OB\_IWDG2\_SW)\ ||\ ((SOURCE)\ ==\ OB\_IWDG2\_HW))}}
\DoxyCodeLine{00992\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_CORE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00993\ \textcolor{preprocessor}{\#define\ IS\_OB\_STOP\_D1\_RESET(VALUE)\ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_STOP\_NO\_RST\_D1)\ ||\ ((VALUE)\ ==\ OB\_STOP\_RST\_D1))}}
\DoxyCodeLine{00994\ }
\DoxyCodeLine{00995\ \textcolor{preprocessor}{\#define\ IS\_OB\_STDBY\_D1\_RESET(VALUE)\ \ \ \ \ \ (((VALUE)\ ==\ OB\_STDBY\_NO\_RST\_D1)\ ||\ ((VALUE)\ ==\ OB\_STDBY\_RST\_D1))}}
\DoxyCodeLine{00996\ }
\DoxyCodeLine{00997\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_IWDG\_STOP(VALUE)\ \ \ \ \ \ (((VALUE)\ ==\ OB\_IWDG\_STOP\_FREEZE)\ ||\ ((VALUE)\ ==\ OB\_IWDG\_STOP\_ACTIVE))}}
\DoxyCodeLine{00998\ }
\DoxyCodeLine{00999\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_IWDG\_STDBY(VALUE)\ \ \ \ \ (((VALUE)\ ==\ OB\_IWDG\_STDBY\_FREEZE)\ ||\ ((VALUE)\ ==\ OB\_IWDG\_STDBY\_ACTIVE))}}
\DoxyCodeLine{01000\ }
\DoxyCodeLine{01001\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_ST\_RAM\_SIZE(VALUE)\ \ \ \ (((VALUE)\ ==\ OB\_ST\_RAM\_SIZE\_2KB)\ ||\ ((VALUE)\ ==\ OB\_ST\_RAM\_SIZE\_4KB)\ ||\ \(\backslash\)}}
\DoxyCodeLine{01002\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ OB\_ST\_RAM\_SIZE\_8KB)\ ||\ ((VALUE)\ ==\ OB\_ST\_RAM\_SIZE\_16KB))}}
\DoxyCodeLine{01003\ }
\DoxyCodeLine{01004\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_SECURITY(VALUE)\ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_SECURITY\_ENABLE)\ ||\ ((VALUE)\ ==\ OB\_SECURITY\_DISABLE))}}
\DoxyCodeLine{01005\ }
\DoxyCodeLine{01006\ \textcolor{preprocessor}{\#if\ defined\ (DUAL\_CORE)}}
\DoxyCodeLine{01007\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_BCM4(VALUE)\ \ \ \ \ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_BCM4\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_BCM4\_ENABLE))}}
\DoxyCodeLine{01008\ }
\DoxyCodeLine{01009\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_BCM7(VALUE)\ \ \ \ \ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_BCM7\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_BCM7\_ENABLE))}}
\DoxyCodeLine{01010\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ DUAL\_CORE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{01011\ }
\DoxyCodeLine{01012\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR\_NRST\_STOP\_D2)}}
\DoxyCodeLine{01013\ \textcolor{preprocessor}{\#define\ IS\_OB\_STOP\_D2\_RESET(VALUE)\ \ \ \ \ \ \ (((VALUE)\ ==\ OB\_STOP\_NO\_RST\_D2)\ ||\ ((VALUE)\ ==\ OB\_STOP\_RST\_D2))}}
\DoxyCodeLine{01014\ }
\DoxyCodeLine{01015\ \textcolor{preprocessor}{\#define\ IS\_OB\_STDBY\_D2\_RESET(VALUE)\ \ \ \ \ \ (((VALUE)\ ==\ OB\_STDBY\_NO\_RST\_D2)\ ||\ ((VALUE)\ ==\ OB\_STDBY\_RST\_D2))}}
\DoxyCodeLine{01016\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR\_NRST\_STOP\_D2\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{01017\ }
\DoxyCodeLine{01018\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_TCM\_AXI\_SHARED)}}
\DoxyCodeLine{01019\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_TCM\_AXI\_SHARED(VALUE)\ (((VALUE)\ ==\ OB\_TCM\_AXI\_SHARED\_ITCM64KB)\ ||\ ((VALUE)\ ==\ OB\_TCM\_AXI\_SHARED\_ITCM128KB)\ ||\ \(\backslash\)}}
\DoxyCodeLine{01020\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ OB\_TCM\_AXI\_SHARED\_ITCM192KB)\ ||\ ((VALUE)\ ==\ OB\_TCM\_AXI\_SHARED\_ITCM256KB))}}
\DoxyCodeLine{01021\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_TCM\_AXI\_SHARED\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{01022\ }
\DoxyCodeLine{01023\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OPTSR2\_CPUFREQ\_BOOST)}}
\DoxyCodeLine{01024\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_CPUFREQ\_BOOST(VALUE)\ \ (((VALUE)\ ==\ OB\_CPUFREQ\_BOOST\_DISABLE)\ ||\ ((VALUE)\ ==\ OB\_CPUFREQ\_BOOST\_ENABLE))}}
\DoxyCodeLine{01025\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OPTSR2\_CPUFREQ\_BOOST\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{01026\ }
\DoxyCodeLine{01027\ \textcolor{preprocessor}{\#define\ IS\_OB\_USER\_TYPE(TYPE)\ \ \ \ \ \ \ \ \ \ \ \ ((((TYPE)\ \&\ OB\_USER\_ALL)\ !=\ 0U)\ \&\&\ \(\backslash\)}}
\DoxyCodeLine{01028\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (((TYPE)\ \&\ \string~OB\_USER\_ALL)\ ==\ 0U))}}
\DoxyCodeLine{01029\ }
\DoxyCodeLine{01030\ \textcolor{preprocessor}{\#define\ IS\_OB\_BOOT\_ADD\_OPTION(VALUE)\ \ \ \ \ (((VALUE)\ ==\ OB\_BOOT\_ADD0)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{01031\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ OB\_BOOT\_ADD1)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{01032\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ OB\_BOOT\_ADD\_BOTH))}}
\DoxyCodeLine{01033\ }
\DoxyCodeLine{01034\ \textcolor{preprocessor}{\#define\ IS\_FLASH\_TYPECRC(VALUE)\ \ \ \ \ \ \ \ \ \ (((VALUE)\ ==\ FLASH\_CRC\_ADDR)\ \ \ \ ||\ \(\backslash\)}}
\DoxyCodeLine{01035\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ FLASH\_CRC\_SECTORS)\ ||\ \(\backslash\)}}
\DoxyCodeLine{01036\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((VALUE)\ ==\ FLASH\_CRC\_BANK))}}
\DoxyCodeLine{01037\ }
\DoxyCodeLine{01038\ \textcolor{preprocessor}{\#if\ defined\ (FLASH\_OTPBL\_LOCKBL)}}
\DoxyCodeLine{01039\ \textcolor{preprocessor}{\#define\ IS\_OTP\_BLOCK(VALUE)\ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((VALUE)\ \&\ 0xFFFF0000U)\ ==\ 0x00000000U)\ \&\&\ ((VALUE)\ !=\ 0x00000000U))}}
\DoxyCodeLine{01040\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ FLASH\_OTPBL\_LOCKBL\ */}\textcolor{preprocessor}{}\textcolor{preprocessor}{}}
\DoxyCodeLine{01044\ }
\DoxyCodeLine{01048\ }
\DoxyCodeLine{01049\ \textcolor{comment}{/*\ Private\ functions\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{01053\ \textcolor{keywordtype}{void}\ FLASH\_Erase\_Sector(uint32\_t\ Sector,\ uint32\_t\ Banks,\ uint32\_t\ VoltageRange);}
\DoxyCodeLine{01057\ }
\DoxyCodeLine{01061\ }
\DoxyCodeLine{01065\ }
\DoxyCodeLine{01066\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{01067\ \}}
\DoxyCodeLine{01068\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{01069\ }
\DoxyCodeLine{01070\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ STM32H7xx\_HAL\_FLASH\_EX\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{01071\ }

\end{DoxyCode}
